﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CompiladorV
{


    public partial class Compilador : Form
    {
        public event DatosEventHandler AgregarDatos;

        public Compilador()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void Aceptar_Click(object sender, EventArgs e)
        {
            string[] arreglo = textBox1.Lines;
            AgregarDatos(arreglo);
            this.Visible = false;
        }

        private void Cancelar_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        
    }

    
}


